package com.yy.mapper;

import com.yy.domain.ProdComm;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yy.model.CommStatistics;

import java.util.List;

/**
* @author yy5
* @description 针对表【prod_comm(商品评论)】的数据库操作Mapper
* @createDate 2023-11-27 20:47:04
* @Entity com.yy.domain.ProdComm
*/
public interface ProdCommMapper extends BaseMapper<ProdComm> {
    /**
     * 根据商品IDS拿评论数据
     * @param prodIds
     * @return
     */
    List<CommStatistics> selectCommStatistics(List<Long> prodIds);
}




